package com.ddxz.demo.liquibase.entity;

import com.ddxz.tool.core.common.CommonUtil;
import com.ddxz.tool.core.convert.DateUtil;

/**
 * class description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2020/12/18
 */

public class PostEntity {
    private String id = CommonUtil.generatorId("t_post");
    private String name;
    private String code = CommonUtil.random(6);
    private String description = "";
    private String createUser = "";
    private Long createTime = DateUtil.getCurrentTime();
    private Long modifyTime = DateUtil.getCurrentTime();
    private Integer status = 1;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Long modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
